package com.quan.OGCamera;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;

public class NewOnListViewItemClickListener implements OnItemClickListener {
	@Override
	public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
		Context context = view.getContext();
		Intent intent = new Intent(context, PositioningOverlayActivity.class);
    	// Passing fileUri to ImageMergingActivity
    	intent.putExtra("fileUri", CameraControlActivity.fileUri);
    	intent.putExtra("imageId", id+1);
		context.startActivity(intent);
	}
}
